package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Banner;

public interface BannerService {
    PageInfo<Banner> findByPage(Integer pageNum, Integer pageSize);

    PageInfo<Banner> findByPage(Integer pageNum, Integer pageSize,String title);

    void save(Banner banner);

    Banner findById(Integer id);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);
}
